/*
 ============================================================================
 Name		: FullScreenDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CFullScreenDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "FullScreenAppUi.h"
#include "FullScreenDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CFullScreenDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CFullScreenDocument* CFullScreenDocument::NewL(CEikApplication& aApp)
	{
	CFullScreenDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CFullScreenDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CFullScreenDocument* CFullScreenDocument::NewLC(CEikApplication& aApp)
	{
	CFullScreenDocument* self = new (ELeave) CFullScreenDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CFullScreenDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CFullScreenDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CFullScreenDocument::CFullScreenDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CFullScreenDocument::CFullScreenDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CFullScreenDocument::~CFullScreenDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CFullScreenDocument::~CFullScreenDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CFullScreenDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CFullScreenDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CFullScreenAppUi;
	}

// End of File
